package com.example.springsecurity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.springsecurity.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 角色信息表(SystemRole)表实体类
 *
 * @author aman
 * @since 2025-01-15 16:58:54
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "system_role")
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SystemRole extends BaseEntity {
    //角色名称
    private String name;
    //角色权限字符串
    private String code;
    //角色状态（0正常 1停用）
    private Integer status;
    //是否已删除：0->未删除；1->已删除
    private Integer deleted;
    //备注
    private String remark;
}
